package com.baliejun.springsell.enums;

/**
 * @Author: LiejunBa
 * @Description:商品状态枚举
 * @Date: 2020/12/2 10:29 上午
 */
public enum  ProductStatusEnum {
    UP(0,"上架"),
    DOWN(1,"下架")

    ;
    private Integer code;
    private String message;

    ProductStatusEnum(Integer code, String message) {
        this.code = code;
        this.message = message;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}
